﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HRSWeb.UI.BasePages;
using HRSWeb.Presentation.Login;

namespace HRSWeb.Presentation.Appointment
{
    public partial class Appointment : HrsBasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (AuthenticatedUser.Current.User == null)
                Response.Redirect("../Login/PatientLogin.aspx");
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            AuthenticationManager.Current.Logout();
            Response.Redirect("Appointment.aspx");
        }
    }
}